package com.qing.qingapiclientsdk;


import com.qing.qingapiclientsdk.Client.QingApiClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

//这个就是一个starter sdk 用于测试是否有权限
// * @author qingfengzy
@Configuration
@ConfigurationProperties("qingapi.client")
@Data
@ComponentScan
public class QingApiClientConfig {

    private String accessKey;

    private String secretKey;

    @Bean
    public QingApiClient qingApiClient(){
        return new QingApiClient(accessKey,secretKey);
    }

}
